package com.xzy.urp.service;

import com.xzy.urp.pojo.entity.CourseInfo;
import com.xzy.urp.pojo.entity.CourseTime;
import com.xzy.urp.pojo.entity.TeacherInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xzy.urp.pojo.vo.CourseInfoVO;
import com.xzy.urp.pojo.vo.CourseTimeVO;
import com.xzy.urp.pojo.vo.TeacherInfoVO;

import java.io.InputStream;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzy
 * @since 2022-02-17
 */
public interface TeacherInfoService extends IService<TeacherInfo> {

    boolean addTInfo(TeacherInfoVO teacherInfoVO);

    TeacherInfo getInfoById(Long id);

    List<CourseInfo> getCInfoById(Long id,Integer year);

    List<CourseTimeVO> getCTimeById(Long id, Integer year);

    void importData(InputStream inputStream);

    void addCInfo(CourseInfoVO courseInfoVO);

    void updateCInfo(CourseInfoVO courseInfoVO);

    void removeCInfo(Long Cid);



}
